package com.wy.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.wy.common.annotation.Excel;
import com.wy.system.domain.SysPay;

import java.util.Date;

public class SysPayVo {

    /**
     * 物业费记录编号
     */
    private Long id;

    /**
     * 物业费记录类型
     */
    @Excel(name = "物业费记录类型")
    private String type;

    /**
     * 物业费记录时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "物业费记录时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date payDate;

    /**
     * 物业费记录金额
     */
    @Excel(name = "物业费记录金额")
    private Long value;

    /**
     * 房产/车位/员工
     */
    private Long hcId;

    /**
     * 支付用户
     */
    @Excel(name = "支付用户")
    private String nickName;

    private Long user;

    @Excel(name = "备注")
    private String remark;
    /**
     * 支付状态
     */
    private String status;

    @Excel(name = "支付状态")
    private String statusName;
    @Excel(name = "房产/车位/员工")
    private String hcName;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Date getPayDate() {
        return payDate;
    }

    public void setPayDate(Date payDate) {
        this.payDate = payDate;
    }

    public Long getValue() {
        return value;
    }

    public void setValue(Long value) {
        this.value = value;
    }

    public Long getHcId() {
        return hcId;
    }

    public void setHcId(Long hcId) {
        this.hcId = hcId;
    }

    public Long getUser() {
        return user;
    }

    public void setUser(Long user) {
        this.user = user;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getHcName() {
        return hcName;
    }

    public void setHcName(String hcName) {
        this.hcName = hcName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getStatusName() {
        return statusName;
    }

    public void setStatusName(String statusName) {
        this.statusName = statusName;
    }

    @Override
    public String toString() {
        return "SysPayVo{" +
                "id=" + id +
                ", type='" + type + '\'' +
                ", payDate=" + payDate +
                ", value=" + value +
                ", hcId=" + hcId +
                ", nickName='" + nickName + '\'' +
                ", user=" + user +
                ", remark='" + remark + '\'' +
                ", status='" + status + '\'' +
                ", statusName='" + (status=="0"?"未支付":"已支付") + '\'' +
                ", hcName='" + hcName + '\'' +
                '}';
    }
}